package com.yic.module.mes.controller.admin.reportworkhours.vo;

import lombok.*;

import java.math.BigDecimal;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import com.yic.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static com.yic.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 报工工时分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class ReportWorkHoursPageReqVO extends PageParam {

    @Schema(description = "报工记录", example = "10684")
    private Long reportId;

    @Schema(description = "员工", example = "22944")
    private Long userId;

    @Schema(description = "工时")
    private BigDecimal workHours;

    @Schema(description = "工时合计")
    private BigDecimal total;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}
